<div class="form">
    <?php $form = $this->beginWidget('CActiveForm', array('id' => 'options-form')); ?>
    <fieldset>
        <legend>网站信息</legend>
        <table cellspacing="0" cellpadding="0" class="Ftable">
            <tr>
                <th><?php echo $form->labelEx($model, 'sitename'); ?></th>
                <td><?php echo $form->textField($model, 'sitename', array('value' => params('sitename'), 'size' => 40)); ?></td>
            </tr>
            <tr>
                <th><?php echo $form->labelEx($model, 'siteurl'); ?></th>
                <td><?php echo $form->textField($model, 'siteurl', array('value' => params('siteurl'), 'size' => 30)); ?></td>
            </tr>
            <tr>
                <th><?php echo $form->labelEx($model, 'keywords'); ?></th>
                <td><?php echo $form->textField($model, 'keywords', array('value' => params('keywords'), 'size' => 80)); ?></td>
            </tr>
            <tr>
                <th><?php echo $form->labelEx($model, 'description'); ?></th>
                <td><?php echo $form->textArea($model, 'description', array('rows' => 6, 'cols' => 80)); ?></td>
            </tr>
            <tr>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th></th>
                <td><?php echo CHtml::submitButton('提交'); ?></td>
            </tr>
        </table>
    </fieldset>
    <?php $this->endWidget(); ?>
</div>
